import request from '@/utils/request'

// 过磅费配置-列表
export function weightFeeConfigList(params) {
  return request({
    url: '/charge/findPageCastWeighConfig',
    method: 'post',
    data: params
  })
}

// 过磅费配置-新增
export function weightFeeConfigAdd(params) {
  return request({
    url: '/charge/saveCastWeighConfig',
    method: 'post',
    data: params
  })
}

// 过磅费配置-编辑
export function weightFeeConfigUpdate(params) {
  return request({
    url: '/charge/updateCastWeighConfig',
    method: 'post',
    data: params
  })
}

// 过磅费配置-删除
export function weightFeeConfigDelete(params) {
  return request({
    url: '/charge/deleteCastWeighConfig',
    method: 'post',
    data: params
  })
}

// 代驾费配置-列表
export function findPageCostDriveConfig(params) {
  return request({
    url: '/charge/findPageCostDriveConfig',
    method: 'post',
    data: params
  })
}

// 代驾费配置-新增
export function saveCostDriveConfig(params) {
  return request({
    url: '/charge/saveCostDriveConfig',
    method: 'post',
    data: params
  })
}

// 代驾费配置-编辑
export function updateCostDriveConfig(params) {
  return request({
    url: '/charge/updateCostDriveConfig',
    method: 'post',
    data: params
  })
}

// 代驾费配置-删除
export function deleteCostDriveConfig(params) {
  return request({
    url: '/charge/deleteCostDriveConfig',
    method: 'post',
    data: params
  })
}


// 停车费配置-列表
export function parkFeeConfigList(params) {
  return request({
    url: '/charge/findPageCostStopConfig',
    method: 'post',
    data: params
  })
}

// 停车费配置-新增
export function parkFeeConfigAdd(params) {
  return request({
    url: '/charge/saveCostStopConfig',
    method: 'post',
    data: params
  })
}

// 停车费配置-编辑
export function parkFeeConfigUpdate(params) {
  return request({
    url: '/charge/updateCostStopConfig',
    method: 'post',
    data: params
  })
}

// 停车费配置-删除
export function parkFeeConfigDelete(params) {
  return request({
    url: '/charge/deleteCostStopConfig',
    method: 'post',
    data: params
  })
}


// 入场费配置-列表
export function entranceFeeConfigList(params) {
  return request({
    url: '/charge/findPageCostEntranceConfig',
    method: 'post',
    data: params
  })
}

// 入场费配置-新增
export function entranceFeeConfigAdd(params) {
  return request({
    url: '/charge/saveCostEntranceConfig',
    method: 'post',
    data: params
  })
}

// 入场费配置-编辑
export function entranceFeeConfigUpdate(params) {
  return request({
    url: '/charge/updateCostEntranceConfig',
    method: 'post',
    data: params
  })
}

// 入场费配置-删除
export function entranceFeeConfigDelete(params) {
  return request({
    url: '/charge/deleteCostEntranceConfig',
    method: 'post',
    data: params
  })
}


// 制卡费配置-列表
export function makeCardFeeConfigList(params) {
  return request({
    url: '/charge/findPageCostMakeCardConfig',
    method: 'post',
    data: params
  })
}

// 制卡费配置-新增
export function makeCardFeeConfigAdd(params) {
  return request({
    url: '/charge/saveCostMakeCardConfig',
    method: 'post',
    data: params
  })
}

// 制卡费配置-编辑
export function makeCardFeeConfigUpdate(params) {
  return request({
    url: '/charge/updateCostMakeCardConfig',
    method: 'post',
    data: params
  })
}

// 制卡费配置-删除
export function makeCardFeeConfigDelete(params) {
  return request({
    url: '/charge/deleteCostMakeCardConfig',
    method: 'post',
    data: params
  })
}


// 录入费配置-列表
export function entryFeeConfigList(params) {
  return request({
    url: '/charge/findPageCostEntryConfig',
    method: 'post',
    data: params
  })
}

// 录入费配置-新增
export function entryFeeConfigAdd(params) {
  return request({
    url: '/charge/saveCostEntryConfig',
    method: 'post',
    data: params
  })
}

// 录入费配置-编辑
export function entryFeeConfigUpdate(params) {
  return request({
    url: '/charge/updateCostEntryConfig',
    method: 'post',
    data: params
  })
}

// 录入费配置-删除
export function entryFeeConfigDelete(params) {
  return request({
    url: '/charge/deleteCostEntryConfig',
    method: 'post',
    data: params
  })
}

// 仓储费配置-列表
export function feeConfigList(params) {
  return request({
    url: '/charge/findStorageForPage',
    method: 'post',
    data: params
  })
}

// 仓储费配置-新增
export function storageConfSaveData(params) {
  return request({
    url: '/charge/storageConfSaveData',
    method: 'post',
    data: params
  })
}

// 仓储费配置-编辑
export function storageConfUpdateData(params) {
  return request({
    url: '/charge/storageConfUpdateData',
    method: 'post',
    data: params
  })
}

// 仓储费配置-删除
export function storageConfDeleteData(params) {
  return request({
    url: '/charge/storageConfDeleteData',
    method: 'post',
    data: params
  })
}


// 删除配置
export function feeConfigDelete(params) {
  return request({
    url: '/charge/payItemConfDeleteData',
    method: 'post',
    data: params
  })
}

// 修改配置
export function feeConfigUpdate(params) {
  return request({
    url: '/charge/payItemConfUpdateData',
    method: 'post',
    data: params
  })
}
